<div class="panel panel-default">
    <div class="panel-body panel-body-nopadding">

        <form class="form-horizontal form-bordered" method="post">

            <div class="form-group">
                <label class="col-sm-3 control-label">抓取任务名称</label>
                <div class="col-sm-6">
                    <input type="text" placeholder="抓取任务名称" class="form-control" name="title" value="">
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label">分类</label>
                <div class="col-sm-6">
                    <select class="form-control input-nm mb15" name="cid">
                        <volist name="categoryList" id="vo">
                        <option value="{$vo.id}">{$vo.title}</option>
                        </volist>
                    </select>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label">解析器</label>
                <div class="col-sm-6">
                    <select class="form-control input-nm mb15" name="parseid">
                        <volist name="parseList" id="vo">
                        <option value="{$vo.id}">{$vo.title}</option>
                        </volist>
                    </select>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label">链接</label>
                <div class="col-sm-6">
                    <textarea name="urls" placeholder="每行一条" class="form-control" rows="8"></textarea>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label">间隔时间(天)</label>
                <div class="col-sm-6">
                    <input type="text" placeholder="以1天为单位" class="form-control" name="timespan" value="1">
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label">状态</label>
                <div class="col-sm-6">
                    <div class="radio">
                        <label><input type="radio" name="status" value="1" checked=""> 启用</label> &nbsp;&nbsp;&nbsp;
                        <label><input type="radio" name="status" value="0"> 禁用</label>
                    </div>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label"></label>
                <div class="col-sm-2">
                    <input type="submit" class="btn btn-primary" value=" 提 交 " > &nbsp;
                    <a href="{:U('/task')}" class="btn btn-default"> 列 表 </a>
                </div>
            </div>
        </form>

    </div>
</div>
